package designPattern.struction.decoratorpattern;

/**
 * @author 张琪
 * @date 2023/2/3 18:17
 */
public class DecoratorSecond extends Decorator{
    public DecoratorSecond(Human human) {
        super(human);
    }

    public void findClothes() {
        System.out.println("找到一件D&G..");
    }

    @Override
    public void wearClothes() {
        super.wearClothes();
        findClothes();
    }
}
